#ifndef _MCONMAIN_H
#define _MCONMAIN_H


#include <afx.h>
#include <afxole.h>
#include <atlbase.h>
extern CComModule _Module;
#include <atlcom.h>
#include "cw.h"

extern "C" {
	void error(char *,...);
	char * __cdecl int_string_copy(char *);
	extern "C" void shutdownMudOS(int);
};

#include "../std.h"
#include "../lpc_incl.h"
extern "C" {
	program_t *get_current_prog();
	object_t *get_current_object();
	void _free_object PROT((object_t *, char *));
	char *check_valid_path P4(char *, path, object_t *, call_object, char *, call_fun, int, writeflg);
	class_t *_allocate_class P2(class_def_t *, cld, int, has_values);
}

#define alloca _alloca
extern "C" void *_alloca( size_t size );


#endif   // _MCONMAIN_H
